import request from '@/utils/login'
// import qs from 'qs'

export function newLogin (data) {
  // const params = qs.stringify(data)
  return request({
    url: '/newLogin',
    method: 'post',
    data: data
  })
}

export function loginDel (data) {
  // const params = qs.stringify(data)
  return request({
    url: '/newLogout',
    method: 'DELETE',
    data: data
  })
}